<?php 
	$root_path = dirname(__FILE__); 	
	require_once $root_path . '/siteroot.php';
	require_once $root_path . '/utilities/sessions.php';
	require_once $root_path . '/controllers/users/users.php';
	require_once $root_path . '/controllers/camlot/camlot.php';
	require_once $root_path . '/includes/access.php';
	if (!Access::accessFile())
	{
		$users = new usersController();
		$users->loginForm();
	}
	else
	{
		$camlot = new camlotController();
		$camlot->camlotForm();
	}
?>